package zhoujunhao.rbac.domian.entity;

/**
 * 实体类-用户
 *
 * @author 周均壕
 * @since 2025/6/16 03:12
 */
public class User extends BaseEntity{

    public String username;
    public String name;
    public String moblie;
    public String email;
    public int deptId;
    public int roleId;
    public boolean enabled = true;

    public User() {
    }

    public User(int id,String username, String name, String moblie, String email, int deptId, int roleId) {
        super(id);
        this.username = username;
        this.name = name;
        this.moblie = moblie;
        this.email = email;
        this.deptId = deptId;
        this.roleId = roleId;
    }
}
